<template>
  <div>
      {{count}}
      <p>{{double}}</p>
      <el-button @click="increment">++</el-button>
  </div>
</template>

<script setup>
import useCounter from './counter'
console.log(useCounter())
const {count,double,increment} = useCounter()
</script>

<style>

</style>